From cbd6ee8b5432fa03d50116e837d2243858e5a531 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Sat, 30 Jun 2018 15:17:12 -0600 Subject: [PATCH] eliminate uneccesary const_cast in osm format. --- osm.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/osm.cc b/osm.cc index 6cb3a55a6..49ab6108b 100644 --- a/osm.cc +++ b/osm.cc @@ -459,10 +459,7 @@ osm_feature_symbol(const int ikey, const char* value) static char* osm_strip_html(const char* str) { - utf_string utf; - utf.is_html = true; - utf.utfstring = const_cast(str); - + utf_string utf(true, str); return strip_html(&utf); // util.cc } -- 2.30.2